home *** CD-ROM | disk | FTP | other *** search
/ CD BIT 75 / CD BIT 75.iso / Software / ooo / f_0020 / sbasic.jar / text / sbasic / common / 03130500.xml < prev    next >
Encoding:
Extensible Markup Language  |  2003-08-01  |  7.7 KB  |  71 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Shell Function [Runtime]</title><meta name="filename" content="text/sbasic/common/03130500"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:1.037cm;}
  8.         span.Tabelle1B{
  9.                 width:16.962cm;}
  10.         td.Tabelle1A1{
  11.                 }
  12.         p.P1{
  13.                 }
  14.         span.T1{
  15.                 font-weight:bold;}
  16.         </style></head><body>
  17.   
  18.   
  19.   <help:paragraphinfo state="E" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="shell" xmlns:help="http://openoffice.org/2000/help">
  20.   <p class="Head1"><help:paragraphinfo state="U" number="1"/><help:key-word value="Shell; function" tag="kw66566_1"/><help:link Id="66566">Shell Function [Runtime]</help:link></p>
  21.   <p class="Paragraph"><help:paragraphinfo state="U" number="2"/>Starts another application and defines the respective window style, if necessary.</p>
  22.   <help:paragraphinfo state="E"/></help:to-be-embedded>
  23.   <p class="Head2"><help:paragraphinfo state="U" number="4" xmlns:help="http://openoffice.org/2000/help"/>Syntax</p>
  24.   <p class="PropText"><help:paragraphinfo state="U" number="5" xmlns:help="http://openoffice.org/2000/help"/>Shell (Pathname As String[, Windowstyle As Integer][, Param As String][, bSync]) </p>
  25.   <p class="Head2"><help:paragraphinfo state="U" number="6" xmlns:help="http://openoffice.org/2000/help"/>Parameter</p>
  26.   <p class="Head3"><help:paragraphinfo state="U" number="23" xmlns:help="http://openoffice.org/2000/help"/>Pathname</p>
  27.   <p class="Paragraph"><help:paragraphinfo state="U" number="7" xmlns:help="http://openoffice.org/2000/help"/>Complete path and program name of the program that you want to start.</p>
  28.   <p class="Head3"><help:paragraphinfo state="U" number="24" xmlns:help="http://openoffice.org/2000/help"/>Windowstyle</p>
  29.   <p class="Paragraph"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/>Optional integer expression that specifies the style of the window that the program is executed in. The following values are possible:</p>
  30.   <table><tr class=""><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  31.       <p class="TableHead"><help:paragraphinfo state="U" number="25" xmlns:help="http://openoffice.org/2000/help"/>0</p>
  32.      </span></th><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  33.       <p class="Paragraph"><help:paragraphinfo state="U" number="10" xmlns:help="http://openoffice.org/2000/help"/>The focus is on the hidden program window.</p>
  34.      </span></th></tr><tr class=""><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  35.      <p class="TextInTable"><help:paragraphinfo state="U" number="26" xmlns:help="http://openoffice.org/2000/help"/>1</p>
  36.     </span></td><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  37.      <p class="Paragraph"><help:paragraphinfo state="U" number="11" xmlns:help="http://openoffice.org/2000/help"/>The focus is on the program window in standard size.</p>
  38.     </span></td></tr><tr class=""><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  39.      <p class="TextInTable"><help:paragraphinfo state="U" number="27" xmlns:help="http://openoffice.org/2000/help"/>2</p>
  40.     </span></td><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  41.      <p class="Paragraph"><help:paragraphinfo state="U" number="12" xmlns:help="http://openoffice.org/2000/help"/>The focus is on the minimized program window.</p>
  42.     </span></td></tr><tr class=""><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  43.      <p class="TextInTable"><help:paragraphinfo state="U" number="28" xmlns:help="http://openoffice.org/2000/help"/>3</p>
  44.     </span></td><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  45.      <p class="Paragraph"><help:paragraphinfo state="U" number="13" xmlns:help="http://openoffice.org/2000/help"/>focus is on the maximized program window.</p>
  46.     </span></td></tr><tr class=""><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  47.      <p class="TextInTable"><help:paragraphinfo state="U" number="29" xmlns:help="http://openoffice.org/2000/help"/>4</p>
  48.     </span></td><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  49.      <p class="Paragraph"><help:paragraphinfo state="U" number="14" xmlns:help="http://openoffice.org/2000/help"/>Standard size program window, without focus.</p>
  50.     </span></td></tr><tr class=""><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  51.      <p class="TextInTable"><help:paragraphinfo state="U" number="30" xmlns:help="http://openoffice.org/2000/help"/>6</p>
  52.     </span></td><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  53.      <p class="Paragraph"><help:paragraphinfo state="U" number="15" xmlns:help="http://openoffice.org/2000/help"/>Minimized program window, focus remains on the active window.</p>
  54.     </span></td></tr><tr class=""><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  55.      <p class="TextInTable"><help:paragraphinfo state="U" number="31" xmlns:help="http://openoffice.org/2000/help"/>10</p>
  56.     </span></td><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  57.      <p class="Paragraph"><help:paragraphinfo state="U" number="16" xmlns:help="http://openoffice.org/2000/help"/>Full-screen display.</p>
  58.     </span></td></tr></table>
  59.   <p class="Head3"><help:paragraphinfo state="U" number="33" xmlns:help="http://openoffice.org/2000/help"/>Param</p>
  60.   <p class="Paragraph"><help:paragraphinfo state="U" number="17" xmlns:help="http://openoffice.org/2000/help"/>Any string expression that specifies the command line that want to pass.</p>
  61.   <p class="Head3"><help:paragraphinfo state="U" number="32" xmlns:help="http://openoffice.org/2000/help"/>bSync</p>
  62.   <p class="Paragraph"><help:paragraphinfo state="U" number="18" xmlns:help="http://openoffice.org/2000/help"/>If this value is set to <span class="T1">true</span>, the <span class="T1">Shell</span> command and all <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> tasks wait until the shell process completes. If the value is set to <span class="T1">false</span>, the shell returns directly. The default value is <span class="T1">false</span>.</p>
  63.   <p class="Paragraph"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="66475" Eid="errorcode" xmlns:help="http://openoffice.org/2000/help"/></p>
  64.   <p class="Paragraph"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="66475" Eid="err5" xmlns:help="http://openoffice.org/2000/help"/></p>
  65.   <p class="Paragraph"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="66475" Eid="err53" xmlns:help="http://openoffice.org/2000/help"/></p>
  66.   <p class="Paragraph"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="66475" Eid="err73" xmlns:help="http://openoffice.org/2000/help"/></p>
  67.   <p class="Head2"><help:paragraphinfo state="U" number="19" xmlns:help="http://openoffice.org/2000/help"/>Example</p>
  68.   <p class="PropText"><help:paragraphinfo state="U" number="20" xmlns:help="http://openoffice.org/2000/help"/>Sub ExampleShellForWin</p>
  69.   <p class="PropText"><help:paragraphinfo state="U" number="21" xmlns:help="http://openoffice.org/2000/help"/> <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>Shell("c:\windows\calc.exe",2)</p>
  70.   <p class="PropText"><help:paragraphinfo state="U" number="22" xmlns:help="http://openoffice.org/2000/help"/>end sub</p>
  71.  </body></html>